package com.tencent.wework.list.cell

import android.view.View
import android.view.ViewGroup
import com.tencent.wework.list.BaseRecyclerAdapter
import com.tencent.wework.list.BaseRecyclerCell
import com.tencent.wework.list.BaseViewHolder
import com.tencent.wework.list.LmAdapter

/**
 * Created by huangwei on 2019/5/27.
 */
open class ErrorCell(): BaseRecyclerCell<Any>(Any()){
    override fun createViewHolder(parent: ViewGroup): BaseViewHolder {
        return BaseViewHolder(View(parent.context))
    }

    override fun onBindViewHolder(viewHolder: BaseViewHolder) {
    }

    override fun getType(): Int {
        return LmAdapter.TYPE_ERROR
    }
}